package com.xiangyun.auth.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xiangyun.auth.model.TSysUser;

public interface TSysUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TSysUser record);

    int insertSelective(TSysUser record);

    TSysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TSysUser record);

    int updateByPrimaryKey(TSysUser record);
    
    TSysUser selectByTUser(TSysUser user);
    
    List<TSysUser> getUserListByPage(
    		@Param("fields") String [] fields ,
    		@Param("orderBy") String [] orderBy , 
    		@Param("sortBy") String [] sortBy , 
    		@Param("search") String search , 
    		@Param("startRegisterTime") String startRegisterTime , 
    		@Param("endRegisterTime") String endRegisterTime ,
    		@Param("start") Long start , 
    		@Param("limit") Long limit ,
    		@Param("currentPage") Long currentPage);
    
    
}